package com.ws.dao2;

import com.ws.domain.dto.OrderTransaction;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

@Mapper
public interface OrderTransactionDao {

    OrderTransaction selectByPrimaryKey(String idOrderTransaction);

    int updateByPrimaryKeySelective(OrderTransaction record);

    Page<OrderTransaction> getPage(@Param("order") OrderTransaction orderTransaction, Pageable pageable);
}